<tasktypes>
{foreach from=$tasktypes item=tasktype}
<tasktype id="{$tasktype->getId()}" 
	name="{$tasktype->getName()}" 
	desc="{$tasktype->getDescription()}" 
	order="{$tasktype->getOrderId()}" 
/>
{/foreach}
</tasktypes>